﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ThiefRun.Util.Graph
{
    public class Edge<N>
    {
        #region Constants
        // Constants
        #endregion Constants

        #region Properties
        // Properties
        private N left;
        private N right;
        #endregion Properties

        #region Computed Properties
        // Computed Propertiess
        public N Left { get { return left; } }
        public N Right { get { return right; } }
        #endregion

        #region Methods
        // Methods

        /// <summary>
        /// Initialize the edge using left and right nodes.
        /// </summary>
        /// <param name="left">The left node</param>
        /// <param name="right">The right node</param>
        public Edge(N left, N right)
        {
            this.left = left;
            this.right = right;
        }

        #endregion Methods
    }
}
